// 开启关闭自动战斗
// @ts-ignore
export async function execute(client_id,message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    //判断是否真的处于战斗中
    if(characters["战斗开关"] !== 0){
        let fight_data = _FightDataCache.get(characters["战斗开关"]);
        if (fight_data) {
            G.FightUtils.update_auto_cmd(characters);
        }
    }
}